/*
 * @Author: DeluxePig
 * @LastEditors: DeluxePig 250293786@qq.com
 * @Date: 2024-06-15 13:16:49
 * @LastEditTime: 2024-06-25 00:29:15
 * @Description: 知识库
 */
import request from '@/utils/request'

// 获取知识库
export function getApi(params) {
  return request({
    url: '/users-api/model/knowledge/file',
    method: 'get',
    params
  })
}
// 删除
export function delApi(data) {
  return request({
    url: '/users-api/model/knowledge/file',
    method: 'DELETE',
    data
  })
}
// 删除
export function upknowledgeApi(data) {
  return request({
    url: '/users-api/model/knowledge/file',
    method: 'POST',
    data
  })
}
// 提问
export function sendquestionApi(data) {
  return request({
    url: '/users-api/chat/question',
    method: 'POST',
    data
  })
}
